<?php
/**
 * page-read.phtml
 * 
 * layout for reading a page
 * 
 * @category 	Madoqua
 * @package 	Layout
 * @subpackage 	Front
 */

$page = $this->placeholder('blog-page-read')->page;
//the post we're reading (comes from blog/post/read)

$this->headTitle($page->title);
//set the page title to the blog

echo $this->doctype('XHTML1_STRICT');
//set display the doctype
?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <?php echo $this->head(); ?>
    </head>
    
    <body>
        <div id="all">
            
            <?php echo $this->partial('front/partials/menu.phtml'); ?>
            
            <div id="content">
                
                <div class="page">
                   <?php echo $this->layout()->content; //will contain results fromt post/read ?>
                </div>
                
            </div>
            
            <?php echo $this->partial('front/partials/footer.phtml'); ?>
            
        </div>
        
        
    </body>
</html>
